package com.yjt.javatest.entity;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yjt.javatest.entity.vo.CompleteQuestion;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class StudentTest {
    @TableId
    private Long id;
    private Long userId;
    private Long testId;
    private String title;
    private List<CompleteQuestion> questions;
    private JSONArray correctAnswers;
    private List<JSONArray> userAnswers;
    private Integer score;
    private Date createAt;
    private Date submitAt;
}
